package com.itelite.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/8/5-23:11
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseParam implements Serializable {
    @NotNull(message = "页面大小不能为空")
    private Integer pageSize;
    @NotNull(message = "页号不能为空")
    private Integer pageNum;
    private String keyword;
}
